package com.ruicar.afs.cloud.account.dto.tree;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.bizcommon.enums.rules.RuleTreeExpressType;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumDeserializer;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumSerializer;
import lombok.Data;

@Data
public class RuleTreeExpressRightDto {
    @JSONField(serializeUsing = AfsEnumSerializer.class, deserializeUsing = AfsEnumDeserializer.class)
    private RuleTreeExpressType type;
    private RuleTreeExpressAtomDto atom;
    private RuleTreeExpressDto express;
    private String value;
    private String valueNames;
}
